package hu.issue.ejb;

import hu.issue.entity.Milestone;
import hu.issue.entity.Project;
import hu.issue.exceptions.ProjectNotFoundException;

import java.util.List;

public interface ProjectService {

	void createProject(Project project);

	List<Project> getProjects();

	Project findProjectById(int id) throws ProjectNotFoundException;

	void addMilestone(int projectId, Milestone milestone) throws ProjectNotFoundException;

}
